/***********************************************************************
 *            Project: CoreCms
 *        ProjectName: 核心内容管理系统                                
 *                Web: https://www.corecms.net                      
 *             Author: 大灰灰                                          
 *              Email: jianweie@163.com                                
 *         CreateTime: 2023-12-19 14:30:13
 *        Description: 暂无
 ***********************************************************************/

using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace CoreCms.Net.Model.Entities
{
    /// <summary>
    /// 司机配送区域表
    /// </summary>
    [SugarTable("corecmsdriverdeliveryarea", TableDescription = "司机配送区域")]
    public partial class corecmsdriverdeliveryarea
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public corecmsdriverdeliveryarea()
        {
        }

        /// <summary>
        /// 
        /// </summary>
        [Display(Name = "id")]
        [SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true)]
        [Required(ErrorMessage = "请输入{0}")]
        public System.Int32 id { get; set; }


        /// <summary>
        /// 司机
        /// </summary>
        [Display(Name = "司机")]
        public System.Int32? driverId { get; set; }


        /// <summary>
        /// 地区id
        /// </summary>
        [Display(Name = "地区id")]
        public System.String areaId { get; set; }


        /// <summary>
        /// 创建时间
        /// </summary>
        [Display(Name = "创建时间")]
        public System.DateTime? createTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        [Display(Name = "更新时间")]
        public System.DateTime? updateTime { get; set; }

        /// <summary>
        /// 司机名
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string driverName { get; set; }
        /// <summary>
        /// 区域名称
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string areaName { get; set; }
    }
}
